<template>
  <div class='header-title'>
    <div class="headerTitle">
      <div>
        <label class="blue"></label>
        <label class="trial">
          <slot name="label">{{ label }}</slot>
        </label>
      </div>
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  data () {
    return {

    }
  },
  props: {
    label: {
      type: [String],
      default: ''
    }
  }
}
</script>
<style lang='scss' scoped>
.headerTitle {
  margin-top: 10px;
  margin-bottom: 10px;
  height: 50px;
  border-bottom: 1px solid rgb(228, 228, 228);
  background-color: transparent;
  clear: both;
  .blue {
    width: 8px;
    height: 30px;
    border-radius: 4px;
    background-color: var(--color-primary);
    margin-top: 10px;
    vertical-align: middle;
    float: left;
  }
  .trial {
    height: 50px;
    background-color: transparent;
    font-size: 18px;
    font-weight: 400;
    line-height: 50px;
    text-align: left;
    color: rgb(70, 76, 91);
    margin-left: 10px;
    vertical-align: middle;
    float: left;
  }
}
</style>
